import 'dart:collection';

import 'package:flutter/material.dart';
import 'package:dio/dio.dart';

Function http;

class MyDio{
  static BaseOptions options = BaseOptions(
      sendTimeout: 8000,
      baseUrl: "",
      receiveTimeout: 5000,
      contentType: "text/html; charset=utf-8",
      responseType: ResponseType.json,
      method: "POST"

  );
  void request(String path) async{
    HashMap<String,dynamic> header = {};
    header[Headers.contentEncodingHeader] = "gzip";
    header[Headers.contentTypeHeader] = "text/html; charset=utf-8";
    header[Headers.formUrlEncodedContentType] = ""
    Options options = Options(responseType: ResponseType.json);
    Response response;

    response = await dio.get(path,queryParameters: )
  }
}